A Connuent Reduction for the Extensional Typed ?calculus with Pairs, Sums, Recursion and Terminal Object
نویسندگان
چکیده
We add extensional equalities for the functional and product types to the typed-calculus with not only products and terminal object, but also sums and bounded recursion (a version of recursion that does not allow recursive calls of innnite length). We provide a connuent and strongly normalizing (thus decidable) rewriting system for the calculus, that stays connuent when allowing unbounded recursion. For that, we turn the extensional equalities into expansion rules, and not into contractions as is done traditionally. We rst prove the calculus to be weakly connuent, which is a more complex and interesting task than for the usual-calculus. Then we provide an eeective mechanism to simulate expansions without expansion rules, so that the strong normalization of the calculus can be derived from that of the underlying, traditional, non extensional system. These results give us the connuence of the full calculus, but we also show how to deduce connuence directly form our simulation technique, without the weak connuence property.
منابع مشابه
Simulating Expansions without Expansions
We add extensional equalities for the functional and product types to the typed -calculus with not only products and terminal object, but also sums and bounded recursion (a version of recursion that does not allow recursive calls of infinite length). We provide a confluent and strongly normalizing (thus decidable) rewriting system for the calculus, that stays confluent when allowing unbounded r...
متن کاملExtensional Rewriting with Sums
Inspired by recent work on normalisation by evaluation for sums, we propose a normalising and confluent extensional rewriting theory for the simply-typed λ-calculus extended with sum types. As a corollary of confluence we obtain decidability for the extensional equational theory of simply-typed λ-calculus extended with sum types. Unlike previous decidability results, which rely on advanced rewr...
متن کاملCombining Rst Order Algebraic Rewriting Systems, Recursion and Extensional Lambda Calculi
It is well known that connuence and strong normalization are preserved when combining left-linear algebraic rewriting systems with the simply typed lambda calculus. It is equally well known that connuence fails when adding either the usual extensional rule for , or recursion together with the usual contraction rule for surjective pairing. We show that connuence and normalization are modular pro...
متن کاملCombining First Order Algebraic Rewriting Systems, Recursion and Extensional Lambda Calculi
It is well known that connuence and strong normalization are preserved when combining left-linear algebraic rewriting systems with the simply typed lambda calculus. It is equally well known that connuence fails when adding either the usual extensional rule for , or recursion together with the usual contraction rule for surjective pairing. We show that connuence and normalization are modular pro...
متن کاملProgramming Research Group the -calculus with Type Similarity the -calculus with Type Similarity
Motivated by the problems of the undecidablity of higher-order uniication and hence the unde-cidability of-uniication, Pym and Elliott give a weaker notion of typing for-objects : type similarity. In this paper we present a new calculus giving a formal theory of type similarity that captures this weaker notion of typing. We then apply a variant of Hardin's interpretation method to show that wel...
متن کامل